package com.tiny.core.physics;

/**
 * Uma classe para representar um vetor <br />
 * 
 * @author Erick Zanardo
 *
 */
public class Vector {
    private double x;
    private double y;

    public Vector(double x, double y) {
        super();
        this.x = x;
        this.y = y;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "[X:" + x + "|Y:" + y + "]";
    }
}
